package xyz.bali16.module.invitecode.model.invitation;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import javax.validation.constraints.NotNull;

@Data
@ApiModel("添加邀请码参数")
public class InvitationAddParam {

    @ApiModelProperty(name = "inviterId", value = "邀请人Id", required = true)
    @NotNull(message = "邀请人Id不可为空")
    private String inviterId;
    @ApiModelProperty(name = "inviteeId", value = "被邀请人Id", required = true)
    @NotNull(message = "被邀请人Id不可为空")
    private String inviteeId;
    @ApiModelProperty(name = "code", value = "邀请码", required = true)
    @NotNull(message = "邀请码不能为空")
    private String code;

}
